package com.xzkydz.root;

import java.util.List;

/**
 * 需要提交的测试数据Json
 */
public class SubmissionEntity {

    /**
     * sign : 3DB296ACF000F148B61D1B10021DDCB0
     * device : ASSDASDJAFDAF
     * method : add
     * project : suduyupianbai
     * taskinfo : {"taskid":"ASADFQIFJ123455","shjdw":"山东枣矿集团","shbbh":"摩擦式1","jcry":"李四  张三  王五","date":"2019年8月27日13:06:17"}
     * images : [{"name":"闸盘1曲线图","content":""},{"name":"闸盘2曲线图","content":"mock"}]
     * data : [{}]
     */

    private String sign;
    private String device;
    private String method;
    private String project;
    private TaskinfoBean taskinfo;
    private List<ImagesBean> images;
    private List<Object> data;

    public SubmissionEntity(){}

    public SubmissionEntity(String sign, String device, String method, String project, TaskinfoBean taskinfo, List<ImagesBean> images, List<Object> data) {
        this.sign = sign;
        this.device = device;
        this.method = method;
        this.project = project;
        this.taskinfo = taskinfo;
        this.images = images;
        this.data = data;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public TaskinfoBean getTaskinfo() {
        return taskinfo;
    }

    public void setTaskinfo(TaskinfoBean taskinfo) {
        this.taskinfo = taskinfo;
    }

    public List<ImagesBean> getImages() {
        return images;
    }

    public void setImages(List<ImagesBean> images) {
        this.images = images;
    }

    public List<Object> getData() {
        return data;
    }

    public void setData(List<Object> data) {
        this.data = data;
    }

    public static class TaskinfoBean {
        /**
         * taskid : ASADFQIFJ123455
         * shjdw : 山东枣矿集团
         * shbbh : 摩擦式1
         * jcry : 李四  张三  王五
         * date : 2019年8月27日13:06:17
         */

        private String taskid;
        private String shjdw;
        private String shbbh;
        private String jcry;
        private String date;

        public TaskinfoBean(String taskid, String shjdw, String shbbh, String jcry, String date) {
            this.taskid = taskid;
            this.shjdw = shjdw;
            this.shbbh = shbbh;
            this.jcry = jcry;
            this.date = date;
        }

        public String getTaskid() {
            return taskid;
        }

        public void setTaskid(String taskid) {
            this.taskid = taskid;
        }

        public String getShjdw() {
            return shjdw;
        }

        public void setShjdw(String shjdw) {
            this.shjdw = shjdw;
        }

        public String getShbbh() {
            return shbbh;
        }

        public void setShbbh(String shbbh) {
            this.shbbh = shbbh;
        }

        public String getJcry() {
            return jcry;
        }

        public void setJcry(String jcry) {
            this.jcry = jcry;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }
    }

    public static class ImagesBean {
        /**
         * name : 闸盘1曲线图
         * content : 
         */

        private String name;
        private String content;

        public ImagesBean(String name, String content) {
            this.name = name;
            this.content = content;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
}
